package com.hyj.entity;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Data
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Users {
	
	@ApiModelProperty(value = "用户ID")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	
	@ApiModelProperty(value = "用户登录名")
	@TableId(value = "id")
	private String loginName;
	
	@ApiModelProperty(value = "用户登录密码")
	@TableId(value = "passWord")
	private String passWord;
	
	@ApiModelProperty(value = "是否锁定")
	@TableId(value = "isLockOut")
	private Integer isLockOut;
	
	@ApiModelProperty(value = "最后一次登陆时间")
	@TableId(value = "lastLoginTime")
	private String lastLoginTime;
	
	@ApiModelProperty(value = "账户创建时间")
	@TableId(value = "createTime")
	private String createTime;
	
	@ApiModelProperty(value = "密码错误次数")
	@TableId(value = "psdWrongTime")
	private Integer psdWrongTime;
	
	@ApiModelProperty(value = "被锁定时间")
	@TableId(value = "lockTime")
	private String lockTime;
	
	@ApiModelProperty(value = "密保邮箱")
	@TableId(value = "protectEmail")
	private String protectEmail;
	
	@ApiModelProperty(value = "密保手机号")
	@TableId(value = "protectMTel")
	private String protectMTel;

}
